package org.lambdateacher.gwt.client;

import org.lambdateacher.gwt.shared.ReduceResponse;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface LambdaServiceAsync {
	void evaluateExpression(String input, AsyncCallback<String> callback) throws IllegalArgumentException;
	
	void reduce(String input, AsyncCallback<ReduceResponse> callback);
}
